package com.nstechs.commerce.transaction;


import com.nstechs.commerce.transaction.product.ProductTransfer;
import com.nstechs.commerce.transaction.product.SupplychainTransfer;
import com.nstechs.commerce.transaction.product.WarehouseTransfer;
import com.nstechs.commerce.transaction.productitem.InventoryDataTranfer;
import com.nstechs.commerce.transaction.productitem.ProductItemDateTranfer;
import com.nstechs.commerce.transaction.saleplan.SalePlanTransfer;

public class DataTransfer {
	public static void main(String[] args) throws Exception {
		ProductTransfer productTransfer = new ProductTransfer();
		ProductItemDateTranfer productItemDateTranfer = new ProductItemDateTranfer();
		//DictionaryTransfer dictionaryTransfer = new DictionaryTransfer();
		SupplychainTransfer supplychainTransfer = new SupplychainTransfer();
		WarehouseTransfer warehouseTransfer = new WarehouseTransfer();
		InventoryDataTranfer inventoryDataTranfer = new InventoryDataTranfer();
		SalePlanTransfer salePlanTransfer = new SalePlanTransfer();
		System.out.println("data transfer for product ...");
		
		// transfer product data
//		salePlanTransfer.insertBrandData();
//		
//		productTransfer.transferCategory();
//		
//		productTransfer.transferProduct();
//		
//		productTransfer.updateCateGoryId();
//		
//		//sale plan
		salePlanTransfer.dataTransfer();
		
//		// warehouses
//		warehouseTransfer.init();
		supplychainTransfer.init();
//		inventoryDataTranfer.inventoryTransfer();
				
		// product item
//		productItemDateTranfer.init();
//		productItemDateTranfer.tranferData4prudtcItem();
//		productItemDateTranfer.tranferData4prudtcItemAttr();
//		
//		// update status
//		productTransfer.updateStatus();
//		productTransfer.updateRackStatus();
		
		System.out.println("data transfer complete.");
		
	}
}
